ascertain the profit